const http = require('../utils/http')

const HTTP = new http.HTTP()

// 获取活动风采列表
export function getActivityContent(pageNum, pageSize, callback) {
  let params = {
    pageNum,
    pageSize
  }
  // console.log(params)
  HTTP.request('/activityContent/all', 'GET', params, res => {
    callback(res)
  })
}
export function activityContentGetContentById( callback) {
  let params = {}
  // console.log(params)
  HTTP.request('/activityContent/getContentById', 'GET', params, res => {
    callback(res)
  })
}
